﻿using System.Web.UI;

namespace SPAdaptiveMenu.Controls
{
    ///<summary>
    ///</summary>
    public sealed class MenuScriptUrl : Control
    {
        protected override void Render(HtmlTextWriter writer)
        {
            writer.Write(@"<script type=""text/javascript"" src=""{0}""></script>", Menu.ScriptUrl(Page));
        }
    }
}
